Read commit ID from optional VERSION file
The commit ID is expected to be the second line of the VERSION file.