Correct error handling in mountchroot.