IDE-931

modified the null project portlet creation bug in ticket IDE-931