Yes, while 겁 is made out of ㄱ ㅓ ㅂ, native Korean speakers would expect a string reversing function to operate on precomposed syllable codepoints rather than breaking them into the components.
I do agree with the overall point; just thought this specific example was a bit odd.