Bugs/cli delete not working

This fixes #287.   When a base image or a target image is deleted, credentials and provider are not passed on the command line.  Added some code to handle None as values of provider and credentials.