def get_app_module_name_list(modules):
    """
    Returns the list of module name from a Ghost App

    >>> modules = [{
    ...    "name" : "symfony2",
    ...    "post_deploy" : "Y29tcG9zZXIgaW5zdGFsbCAtLW5vLWludGVyYWN0aW9u",
    ...    "pre_deploy" : "ZXhpdCAx",
    ...    "scope" : "code",
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ... }]
    >>> get_app_module_name_list(modules)
    ['symfony2']

    >>> modules = [{
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ... }]
    >>> get_app_module_name_list(modules)
    []

    >>> modules = [{
    ...    "name" : "mod1",
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ...  },{
    ...    "name" : "mod-name2",
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ... }]
    >>> get_app_module_name_list(modules)
    ['mod1', 'mod-name2']

    >>> modules = [{
    ...    "name" : "mod1",
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ...  },{
    ...    "noname" : "mod-name2",
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ...  },{
    ...    "name" : "mod3",
    ...    "initialized" : False,
    ...    "path" : "/var/www",
    ...    "git_repo" : "https://github.com/symfony/symfony-demo"
    ... }]
    >>> get_app_module_name_list(modules)
    ['mod1', 'mod3']

    """
    return [app_module['name'] for app_module in modules if 'name' in app_module]