Fix a segfault in gitno_extract_url_parts for urls without a path (+test)

calling `gitno_extract_url_parts` with `url="http://foo"` (without a path) causes a segfault. New behaviour: returns with data->path = NULL