Fix config validation in RepositoryUtility::AddObject

refs #7701