Update form to properly set the path
What does this MR do?
Remove the hidden_field and properly set the @path
if passed
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - [-] Documentation created/updated
- [-] API support added
-
Tests added for this feature/bug - Review
- [-] Has been reviewed by UX
-
Has been reviewed by Frontend -
Has been reviewed by Backend - [-] Has been reviewed by Database
What are the relevant issue numbers?
Fixes gitlab-org/gitlab-ce#36519