If a CGI script lacks execution permissions by accident, cloning from it generates no error messages of any kind.  All that happens is that an empty repository is created.