Reimplemented kpm build --check with IProjectMetadataProvider