move check for empty upstreams and base path clear to request manager