Fix key path to be relative