script: Handle invalid muxmodes