meltano invoke target-csv - 'NoneType' object has no attribute 'full_refresh'

Steps to replicate problem
1. Install latest version of meltano
2. `meltano add target-csv`
3. `meltano invoke target-csv`


```:17
(.venv) visch@visch-ubuntu:~/git/meltano/testdir$ meltano --log-level=debug invoke target-csv
[2021-08-14 13:16:28,669] [1885|MainThread|root] [DEBUG] Creating engine <meltano.core.project.Project object at 0x7f7e7383ee50>@sqlite:////home/visch/git/meltano/testdir/.meltano/meltano.db
[2021-08-14 13:16:28,701] [1885|MainThread|urllib3.connectionpool] [DEBUG] Starting new HTTPS connection (1): www.meltano.com:443
[2021-08-14 13:16:28,922] [1885|MainThread|urllib3.connectionpool] [DEBUG] https://www.meltano.com:443 "GET /discovery.yml?project_id=e713709f-f225-4fff-8f19-03f3a5b9e910 HTTP/1.1" 200 115895
[2021-08-14 13:16:29,356] [1885|MainThread|meltano.core.utils] [DEBUG] Variable '$MELTANO_LOAD_SCHEMA' is missing from the environment.
[2021-08-14 13:16:29,358] [1885|MainThread|meltano.core.utils] [DEBUG] Variable '$MELTANO_LOAD_SCHEMA' is missing from the environment.
[2021-08-14 13:16:29,358] [1885|MainThread|root] [DEBUG] Created configuration at /home/visch/git/meltano/testdir/.meltano/run/target-csv/target.871a464e-14e9-4f81-8884-facea30b2ffd.config.json
[2021-08-14 13:16:29,359] [1885|MainThread|root] [DEBUG] Deleted configuration at /home/visch/git/meltano/testdir/.meltano/run/target-csv/target.871a464e-14e9-4f81-8884-facea30b2ffd.config.json
[2021-08-14 13:16:29,359] [1885|MainThread|meltano.cli.utils] [DEBUG] 'NoneType' object has no attribute 'full_refresh'
Traceback (most recent call last):
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/cli/__init__.py", line 44, in main
    cli(obj={"project": None})
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/cli/params.py", line 23, in decorate
    return func(*args, **kwargs)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/cli/params.py", line 56, in decorate
    func(project, *args, **kwargs)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/cli/invoke.py", line 65, in invoke
    handle = invoker.invoke(*plugin_args, command=command_name)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/plugin_invoker.py", line 272, in invoke
    with self._invoke(*args, **kwargs) as (popen_args, popen_options, popen_env):
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/plugin_invoker.py", line 257, in _invoke
    with self.plugin.trigger_hooks("invoke", self, args):
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/behavior/hookable.py", line 70, in trigger_hooks
    self.__class__.trigger(self, f"before_{hook_name}", *args, **kwargs)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/behavior/hookable.py", line 97, in trigger
    raise err
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/behavior/hookable.py", line 89, in trigger
    hook_func(target, *args, **kwargs)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/plugin/singer/target.py", line 107, in setup_bookmark_writer_hook
    self.setup_bookmark_writer(plugin_invoker)
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/core/plugin/singer/target.py", line 120, in setup_bookmark_writer
    incomplete_state = elt_context.full_refresh and elt_context.select_filter
AttributeError: 'NoneType' object has no attribute 'full_refresh'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/visch/git/meltano/.venv/lib/python3.8/site-packages/meltano/cli/__init__.py", line 52, in main
    raise CliError(str(err)) from err
meltano.cli.utils.CliError: 'NoneType' object has no attribute 'full_refresh'
'NoneType' object has no attribute 'full_refresh'
(.venv) visch@visch-ubuntu:~/git/meltano/testdir$ meltano --version
meltano, version 1.79.0```

Story points: 2.0