Right!
Without checking the code I could assume that, if you are using a complex type of product, to get the child SKU you need to apply some validation.
In this case, probably, the extension is just getting the attribute for a given product without checking if the product has childs or parent.
My guess is that the issue you reported could be related with that.