checking path capitalization of pwd

Use /bin/pwd

cd ~/desktop
/bin/pwd -P