Do not inject plugin if uri is None