allow building in a package dir without args; add mock command

- determine branch
- use +-+
- avoid cd
add cmdput

not so useful though