allow changing repository through REPO environment variable