Use ptbrepo environment var, if it exists