An employee was rewinding the fuel line to the spool on the fuel truck after refueling an aircraft. The chain came off the sprocket when the employee tried to replace the chain. As he jogged the gear so the chain would go back onto the sprocket his finger was caught and amputated.