Employee was cleaning the photo eye lens in the pail stop section of Line #1. The stop air cylinder extended and as it retracted, the employee's left ring finger was pinched and lacerated. The laceration required 4 stitches for closure. The air cylinder isolation valve was not locked out prior to the cleaning process.