Parse inputs unwrap issue2439

See https://github.com/openmicroscopy/openmicroscopy/issues/2439

Commit from @carandraug to fix partial unwrapping in script_utils.parseInputs().

Can be tested by updating an existing script to use this, as shown in https://github.com/MicronOxford/ome-scripts/commit/e2b9815