add option to set base directory for relative repo paths