Fix some specs on AIX

These are purely spec fixes, and none of them are actually AIX-specific, though they do affect it.

There are two fixes for platforms where the default service provider doesn't support enable, and one for cases where the tests are running outside a git directory or without git available.