[MacPorts] #52763: Git: post-commit-hook should check whether mentioned PR IDs do exist