docbook build: added --current option

Allows building from an existing git repository's current branch
(working copy), without fetching from remote or checking out a branch.