Flask-based implementation of a git post receive hook