Prevent NPE when missing output parameter

The save-screenshot command has a parameter *out*, used to specify the output location. If there is no value set for this parameter, a NPE is thrown. Added null check to prevent this and a descriptive error is shown.