build_version_file can be nil here and then the exist? check will fail with an error.