LPS-27530 Return portletPreferences instead of null