Fix incorrect arguments parsing on app restart.

Should fix #913
1 job for master in 10 minutes and 34 seconds (queued for 104 minutes and 33 seconds)
Status Job ID Name Coverage
  Build
passed #87228
linux kf5-qt5 qt5.15

00:10:34

19.0%