Replace the check of "../.git"
Replace the check of "../.git"

Checking the existence of ".git" is not the right way to check whether we
are in develop environment because we distribute source tar-balls where
such a ".git" directory does not exist. Replaced it with checking .proto
files.

google/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,google/protobuf,Livefyre/protobuf