Use relative paths locally and absolute paths remotely.