CLOUDSTACK-6914: Fixed the mentioned issue

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>