Try to fix #222: for OSX App bundle, start pwd in the user's directory instead of deep inside the App bundle