Attempt to dereference otherwise unmatched local routes as resources.

This patch allows PMD to support resources which do not conform to the
best-practice /id/ style.