Bug fix for commit hash regression