Revert "Automatically detect and set correct panel cmdline"

Fixing an error, don't merge original commit yet

This reverts commit 1c30e3070587489250d84ea41f027dc03f701812.