Only try to set aliases if the alias registry is actually in use within
the app.