Only rewrite JL_SYSTEM_IMAGE_PATH if it actually changed