ota: check if system is mounted before unmounting @timduru