avoid from NullPointerException in ShadowUriMatcher