0934b97897
This patch fixes a bug where both 'location' and 'progress' are passed as command line arguments. In this case, the 'data' field is not present in the fields dict and therefore the progress option cannot be used. A check is added to make sure the user has specified both a local image file and the progress flag together. Change-Id: Ia563139ee8b56d54d480534986e4b619a503fbfc Closes-Bug: #1259357