JCR-2278: ActionLauncher should check nodetype for NPE in criteria matching