Makefile: Fixes and improvements
Makefile: Fixes and improvements

* Fix the "make lint" target on Docker
* Add checking for the presence of .git directory to the `trap git checkout ...` declarations
* Use `printf` instead of `echo` when printing colorized output

elastic/go-elasticsearch,elastic/go-elasticsearch,elastic/go-elasticsearch,elastic/go-elasticsearch