Fix localrc repo var derivation