Revert "use fix_target_path in cd function to prevent OSError exceptions in pam"

This reverts commit 1643400f1144ec42476e705b7428c7b3e10cc72b.