Fixed bug where not found exception was thrown for APIs not operating on a prefix or domain.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fixed request targetting API returning false positives for APIs not operating under a prefix or domain.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>