Primitive Elements and the homology of finite covers of graphs