Fixed issue publishing unpublished modules