emit self ref only for bindings inside projectDir