Fixed extractor root route (handle nil path)

In case of nil path (aka root route) that calls nil.sub! in update_api_descriptions while running:
APIPIE_RECORD=params rake test:functionals