IDE-1487 fixed checking resource of portal-properties in liferay-hook.xml