Correct exception on LIST command