An alternative path integral for quantum gravity