Fixed potential NPE when packaging a project without a URL defined