Add support for getting the tag base from the package repository url