Injector: Fix bug detecting code source