[TECH SUPPORT] LPS-46046 RepositoryEntry is not created

Hi Ivan,

I'm forwarding my fix together with @sergiogonzalez's changes to you as Sergio is out of office until May 9th.

Please see https://github.com/akosthurzo/liferay-portal/pull/14 for further info.

Thanks,
Ákos