Small fix to source namespace generation on nested classes, when the top parent is global