This fix adds functionality to find the templates or VMs for cloning operations. Fixes: #45081 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>