Fix plan checks for mirror queries

Plans are no longer through namespace.plan_id, but through the root
namespace via gitlab_subscriptions.
parent 722c0351
Pipeline #149815 passed with stage
in 45 seconds