Checking avilability for git modified so it should work on Travis

Signed off by Renan Fichberg <rfichberg@gmail.com>