Get vm image attr. Remove unused vm_user attr. Fix exception handling.