The role of conical intersections and excited state reaction paths in photochemical pericyclic reactions