Merge pull request #3010 from ethomson/checkout_invalid_path_err checkout: report correct invalid path