Fix invalid version format
Handle files in Filesystem::copyThenRemove, fixes #3287
Merge pull request #3292 from francoispluchino/fix-format-version-parser

Fix invalid version format
Load auth when updating a git repo mirror, fixes #3243
Improve sorting of plugin packages, fixes #3109, refs #2972