Fix to actually use the right query name
With the previous code, the query was actually wrong but it returned all the repositories anyway.