JBIDE-17219 NullPointerException when Template category selected in Project Properties Dialog

Checked null for the case when project templates are not
modified yet and file storing templates is missing in the project.