Fix detection of github gist