Remove the URI lookup mechanism in favor of application env

/cc @meh @ericmj