Fix target parsing. It is not optional.
Merge branch 'hotfix/fix-targets-flag-arg' into develop