Injector: Fix inverted results on isLocal check