Change getProvidersForPath to return an empty array when no providers registered for language.