IDE-1420 Add the folder validate for custom jsps in hook