Fix incorrect path joining