CLOUDSTACK-1237: Fix an overriding method that would help find template adapter

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit fcb4b7a6a7e646c5e3cd7961336258a3d30d6abc)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>