Measure-valued solutions to nonlocal transport equations on networks