patch to use local paths explicitly