Encode the project name before querying PDC for it
Turns out with python3 we need to encode the project name as otherwise
PDC is not able to give us back the appropriate data.
Fixes https://pagure.io/releng/issue/9615
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>