Fixing error messages when using dockercfg setting

Feel free to reject this PR if the changes aren't correct. I was getting an [error message](https://github.com/mesosphere/deimos/issues/30#issuecomment-48380054) when 'dockercfg' was passed in 'opts'. After adding the check to delete the opt I got an error message saying q is an invalid format character.