Updating deploy to handle the case of no changes needing committing --
this should not blow up.
I think I've found a better way to handle the no-changes case.