Ignore detached HEAD when running debian build