query: fix querying for string provides. (RhBug:1114483)

By using reldeps everywhere this simplifies provide queries quite a bit.