Rename base directory to build script directory for test environment.
Rename base directory to gvm base environment variable in test environment.