fixes bug 893899 - make bugs callback robust to null or empty arguments