docs: Fix dist-upgrade command (fixes #470)
(cherry picked from commit 31ef29e1216a856a3ce72551516ef61ea4af7701)