Add alias for in memory provider only if it exists