Improved handling of template-library-core update during release process

Contribution to https://github.com/quattor/release/pull/22, implementing modifications suggested in my comment.