fix #3: StringIndexOutOfBoundsException when constructing output for
classNames
fix #4: Packages depending on packages in package cycles are considered
a separate package cycle