Fixed NoMethodError: exception with memory calculation when creating and listing vms in Ubuntu 12.04 and possibly other versions and distros.