```ruby
module Lab

  module Subcommands

    class Repository < Thor

      desc "list", "List repositories"
      def list
        Gitlab.projects.each do |project|
          puts project.name
        end
      end

      desc "create NAME", "Create a new repository"
      def create
        Gitlab.create_project name
      end

    end

  end

end
```

Fix a bug that caused creating projects to fail
user
```ruby
module Lab

  module Subcommands

    class Repository < Thor

      desc "list", "List repositories"
      def list
        Gitlab.projects.each do |project|
          puts project.name
        end
      end

      desc "create NAME", "Create a new repository"
      def create name
        Gitlab.create_project name
      end

    end

  end

end
```
assistant