remove basepath for resource-listing

it's only required for api definitions and w/o a given basepath the
detection of api definitions is relative