Change how to stop commands method calling loop to more understanable way
backend is also used with "def backend", so rename backend to type
Merge branch 'avoid-loop-if-called-by-detect-os'

Conflicts:
	lib/specinfra/helper/backend.rb