Fix VM bug in resolvename