Fit the parse of Github URL.

Past code didn't work for the repository whose name have '-' or digits.