IDE-1828 Error occurs when cancel new liferay portlet wizard with general project only in package explorer

Lets use CoreUtil.isLiferayProject() instead.  Make sure that you are working with the latest master branch because that method implementation has been updated.