Fix type error: optionalArgs is of type OptionalAppName.
Fix type error: optionalArgs is of type OptionalAppName.

[finishes #164259447]

Signed-off-by: Piyali Banerjee <d82bffaa2d4355ec44ef3455c9c1c6d7d3bbd783@pivotal.io>

cloudfoundry/cli,cloudfoundry/cli,cloudfoundry/cli