Fixed metadata inspection bug with scm federation logic