fix NullRef in Dropbox where nothing to commit