Fix: command_exists test, exclude .git scripts testing

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>