Fix problem when trying to import courses packages