add support for REPONAME environment variable