Fix regression: crashed when budget position has no accounts. Fixes OCA/OCB#14

This is a regression introduced in OCB when budgets were extended to include sub-accounts because the method called is not empty-list-proof.