[TECHNICAL SUPPORT] LPS-36710

Hi Tamás,

You've already reviewed most of this fix, but had some comments in https://github.com/moltam89/liferay-portal/pull/205.

I've also added extra handling for remote staging as other issues were recognized during testing.

Regards,
Vilmos