Revert "More reliable detection of GitHub URLs"

This reverts commit 094f5c0c8aa548a214eb310835a6d73662d289a2.