Make commit-gh slightly more robust