Do not refresh commands without path.
Changelog entry.
Merge branch 't/10877' into major