Use the default label if the {label} placeholder is in the git uri, but the supplied label is null. fixes gh-470