More regular-case detached head (e.g. Travis) fixes