Prevent failures/errors when the checkout was made using a version instead of a branch
Make the expectation a little more generic. Closes #759
Don't use a sha1 as a version identifier as some features in PHPUnit rely on the PHPUnit version. This has to be solved differently

Revert "Prevent failures/errors when the checkout was made using a version instead of a branch"

This reverts commit 1d54dcb6e33986f4cd9687550052d008075567f2.
If the tag can't be found, for any reason, fall back on VERSION-dev and don't show any error (Works on all platforms as far as I could test)
Merge remote branch 'upstream/3.7' into 3.7

Conflicts:
	PHPUnit/Runner/Version.php