Use a base directory for when this script is run outside of the repository dir