LPS-47139 Make sure that ivy.home property is being initialized in this ...

...context based on sdk.dir property

Related portal change: https://github.com/brianchandotcom/liferay-portal/pull/18755