Fixed coverity reported issues in UserVmManagerImpl