D-brane charges on non-simply connected groups