fixed painting for repo item with long repo names