New algorithm and test for multiple binary inputs by reference, build number (e.g. for web.xml) now obtained from git