Fix is_gitfile() for files too small or larger than PATH_MAX to be a gitfile