[patch] Ensure that gvm and nvm exist.