Merge pull request #6267 from libgit2/ethomson/ownership_14 Validate repository directory ownership (v1.4)