Use git cherry to detect if there are unpushed commits before deploy.

Fixes #27.