(un)installer: Warn if a dirty working tree or unpushed commits are found

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>