I would argue that removing these lines are also not part of rewriting the README to use packages. That you use a second paragraph to explain the change in your commit message is also a hint that you're mixing two different things.