Fix error passing gitref argument to non-git repositories
[config] Add gitref argument to configuration file