On the end stage of spherical gravitational collapse in a cosmological scenario