No, it is correct. It is like saying "I got an F on that test". The reason is that, although the first letter is a consonant, when you actually say the letter by itself (which happens in acronyms), it starts with a vowel. "L" in "LOTC" is said like "Ell", which is why it is "an LOTC shirt".