Adding check for jcr_root folder

adds a bit of backward compatibility