Fixed bug: do not fail build in detached head.