Repository: nf-core/tools
Issue: Module authors not being added to meta yml

### Description of the bug

When creating a new module, the module author is not added to bottom of the `meta.yml`. It's written as `"None"` instead.

output in `meta.yml`:
```yml
...
authors:
  - "None"

```

### Command used and terminal output

```console
$ nf-core modules create purgedups/getseqs

                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\\
    |\\ | |__  __ /  ` /  \\ |__) |__         }  {
    | \\| |       \\__, \\__/ |  \\ |___     \\`-._,-`-,
                                          `._,._,'

    nf-core/tools version 2.7.1 - https://nf-co.re


INFO     Repository type: modules                                                                                                                                                              
INFO     Press enter to use default values (shown in brackets) or type your own responses. ctrl+click underlined text to open links.                                                           
WARNING  Could not find Conda dependency using the Anaconda API: 'purgedups'                                                                                                                   
Do you want to enter a different Bioconda package name? [y/n]: y
Name of Bioconda package: purge_dups
INFO     Using Bioconda package: 'bioconda::purge_dups=1.2.6'                                                                                                                                  
INFO     Could not find a Docker/Singularity container (Unexpected response code `503` for https://api.biocontainers.pro/ga4gh/trs/v2/tools/purge_dups/versions/purge_dups-1.2.6)              
GitHub Username: (@author): @mahesh-panchal
INFO     Provide an appropriate resource label for the process, taken from the nf-core pipeline template.                                                                                      
         For example: process_single, process_low, process_medium, process_high, process_long                                                                                                  
? Process resource label: process_single
INFO     Where applicable all sample-specific information e.g. 'id', 'single_end', 'read_group' MUST be provided as an input via a Groovy Map called 'meta'. This information may not be       
         required in some instances, for example indexing reference genome files.                                                                                                              
Will the module require a meta map of sample information? [y/n] (y): y
INFO     Created / edited following files:                                                                                                                                                     
           ./modules/nf-core/purgedups/getseqs/main.nf                                                                                                                                         
           ./modules/nf-core/purgedups/getseqs/meta.yml                                                                                                                                        
           ./tests/modules/nf-core/purgedups/getseqs/main.nf                                                                                                                                   
           ./tests/modules/nf-core/purgedups/getseqs/test.yml                                                                                                                                  
           ./tests/modules/nf-core/purgedups/getseqs/nextflow.config                                                                                                                           
           ./tests/config/pytest_modules.yml
```


### System information

Nextflow version: version 22.10.1
Hardware: Cloud (Gitpod)
Executor: local
OS: Unix (Gitpod)
nf-core/tools: 2.7.1
python: 3.9.15

Changed files:
nf_core/modules/create.py, nf_core/components/components_create.py, nf_core/subworkflows/create.py

diff --git a/nf_core/components/components_create.py b/nf_core/components/components_create.py
index a8d56411..86c42c03 100644
--- a/nf_core/components/components_create.py
+++ b/nf_core/components/components_create.py
@@ -173,3 +173,5 @@ def get_username(author):
             f"[violet]GitHub Username:[/]{' (@author)' if author_default is None else ''}",
             default=author_default,
         )
+
+    return author
diff --git a/nf_core/modules/create.py b/nf_core/modules/create.py
index b4899750..019a77c7 100644
--- a/nf_core/modules/create.py
+++ b/nf_core/modules/create.py
@@ -123,7 +123,7 @@ class ModuleCreate(ComponentCommand):
         self._get_bioconda_tool()
 
         # Prompt for GitHub username
-        nf_core.components.components_create.get_username(self.author)
+        self.author = nf_core.components.components_create.get_username(self.author)
 
         self._get_module_structure_components()
 
diff --git a/nf_core/subworkflows/create.py b/nf_core/subworkflows/create.py
index d5f9a5ef..e61f0c6c 100644
--- a/nf_core/subworkflows/create.py
+++ b/nf_core/subworkflows/create.py
@@ -88,7 +88,7 @@ class SubworkflowCreate(ComponentCommand):
         )
 
         # Prompt for GitHub username
-        nf_core.components.components_create.get_username(self.author)
+        self.author = nf_core.components.components_create.get_username(self.author)
 
         # Create subworkflow template with jinja2
         nf_core.components.components_create.render_template(self.component_type, vars(self), self.file_paths)