Hyperons and massive neutron stars: The role of hyperon potentials