workflows: upgrade compatibility fix

* Fixes compatibility issue in upgrade.

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

* Fixes undefined variable introduced in 95ec7455.

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