[api] fix destruction of repository and clean up channel targets
[ci] fix cleanup of kgraft test
[backend] whitelist .channelinfo files in check
[ci] fix some test cases, was just working by luck before and did no proper cleanup