(AIX) Fix some failing AIX specs

This is the same as #1406, but against the aix branch, plus one more commit which wasn't necessary in master.

Fixes two issues with non-enableable service providers, a spec that fails outside of a git directory or without git available, and an exec test that assumed /bin/cd doesn't exist.