bibdocfile: undefined variable fix

* Fixes undefined variable introduced in 95ec7455.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>