Fixes bug where VM with spaces in the name could not be selected