Fix #3314 Add logging and better checks to gitfs fileserver back