Check for outstanding changes before pushing/poping a patch