Truncates the breadcrumb when needed

Fixes https://issues.sonatype.org/browse/NEXUS-7746

Before:
http://monosnap.com/file/IMDv3yOFD61dv6lO1jC488XSP4jo7z

After:
http://monosnap.com/file/WLfLFIIg8aRCaE2FmvXrWb5dZppNFt