python: the module is optional, so make the dependency optional too
Reviewers: aspotashev
Reviewed By: aspotashev
Differential Revision: https://phabricator.kde.org/D11766