Update the system packages with
pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
Close MSYS2, run it again from Start menu and update the rest with
MSYS2 shell with pacman's output about system upgrade
Now Pacman is fully committed to the windows cause :)
Changing the Windows environment variable HOME solves the problem.