Only show stub when user code does not exist (not when it is empty).

Fixes #3.