Fix to the pathname simplifer logic.