accept git and https as package url