Revert "Revert "Hack to be able to specify source in adapter version""

This reverts commit d8d700202f62ba0b88258a8663a35f0864ff8e95.