Removed the detail as it is not helping.
Use an optional updateCommand to update in Travis-CI which apparently runs tests in a detached HEAD state.