The substitution of @@ROOT@@ should happen when running in the
host, not in the target, system. Also only complain about it
if @@ROOT@@ is actually used in the commands.
FIXES#954
returnCalamares::JobResult::error(QCoreApplication::translate("CommandList","Could not run command."),
QCoreApplication::translate("CommandList","No rootMountPoint is defined, so command cannot be run in the target environment."));
QCoreApplication::translate("CommandList","The command runs in the host environment and needs to know the root path, but no rootMountPoint is defined."));