change from valid-package-names to allowed-package-names and document
Fixed no-heading case to work correctly