fix finding correct easyblock to install extensions with, without duplicating code (i.e. reuse get_easyblock_class)