Please simplify to:

    this.buildType = cli.argv['build-type'] || '';