ECMS-4667: NPE when using fileexplorer portlet

Signed-off-by: Houssem NJAH <njah.houssem@exoplatform.com>