Replaced addpack by handcrafted code to find the bgen stuff.
27 files changed