The relation between Lyman alpha absorbers and gas-rich galaxies in the local Universe