Build script utility functions for passing repository-related metadata into build environment using environment and cfg variables.