Fix vagrant vm name matching

- escaping of single quotes was wrong (at least didn't work for me in both mac and linux)
- match older vagrant files which uses keywords as vm names.