Improved ref formatting in GitHub plugin.