fix an error involving the INSTALL SUMMARY header being appended to the last item in the inventory