nit: `remotePath.startsWith('/system/')` is more future-proof