Fix broken options when using '--no-dev'.

When using '--no-dev', the command's options where being concatenated like so: '--prefer-dist--no-dev'.