Fix completion error with os.run