[BZ-1024876] fix NPE when resource is added to kfs with unspecified path and rule in xls contains timer and calendar
(cherry picked from commit 4cdd2aa583cf5a98812cfd1ea1ed903d10fd19a6)