Fix photo plugin cli

2 jobs for master in 9 minutes and 28 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #16687
linux kf5-qt5 qt5.12

00:09:28

34.0%
passed #16688
windows
windows kf5-qt5 qt5.13

00:07:26