text-based mount command: fix mount option rewriting logic