An employee was troubleshooting a de-bagging machine's motor. He removed the safety cover from a chain drive on the machine, then checked the fan on the motor. When he reached to pull himself out from under the machine, the chain and sprocket caught him and amputated the tip of his ring finger.