Fixed problem with relativizing paths with "." as the CWD