Fix for Defect 84297. Issue was occurring bec of an additional null
check before creating payload for the request. Fixed it.
added 'else' in the sample.
Merge pull request #627 from VimalDhupar/UpdateFileMetadataFix84297

Fix for Defect 84297. Issue was occurring bec of an additional null