Add support for ref in git addon url