Revert "CLOUDSTACK-4904: Unable to see a derieved template if the"

This reverts commit 4907a8f6faf17294f4ca58e05cee9faaf77a385b.