Fixing issue where tasks would be scaffolded for unused modules