Packaging INSTANTLY Completes. (Any Platform)

in my case, the failed attempt to build project with wrong UE version through cmd somehow made RunUAT.bat empty in the correct engine version.

I had replaced RunUAT.bat from GitHub engine source and build started.