Fix service directory pathname