Fix broken bdir command (fixes #161).
Merge pull request #162 from hashdist/johannr/fix-issue-161

Fix broken bdir command (fixes #161).