Fix working directory for ghost