hwaf-setup: only commit to git when there is something to commit
implement a naive (local) package db