WFCORE-217 CLI upload for op params with ModelType.BYTES

This line and everything following it should be wrapped in an if block:

if (request.hasDefined(prop.getName())) {

The property may not be required. And if it isn't, don't call "get" as that will mutate the request.