beast 1.8.0: Fix directory reference in HEAD

Closes #538