Rigidity results for certain 3-dimensional singular spaces and their fundamental groups