Node options are immutable, so we need to make a copy before removing any --prefix options