* arc-versions.sh: Modified to work if we are currently in
	detached HEAD state.