cleanup to use new rake-style DSL
minor fix to git check command