Bugfix for generating manifest