Fix: RM can't remove a file if it is a parent of the working directory