The pinning of vortex lines in very dilute superconductors