Which haloes host Herschel-ATLAS galaxies in the local Universe?