- fixed UnboundLocalError when creating a submitrequest from a project wc

The error occured if no target project was specified by the user.