Issue #2494763 by nedjo, mpotter: Error on generating features when "Include install profile" bundle option checked