master.cfg: fix bug and add / to directory path