test: support an environment that can't get revision