PIM-3209 JobProfileController refactoring + fix bug export even with wrong file uploaded

NB : This PR is a re-working of a fix we passed on 1.2

| Q                    | A
| -------------------- | ---
| Bug fix?             | Yes
| New feature?         | No
| BC breaks?           | ?
| CI currently passes? | Yes
| Tests pass?          | Running
| Scenarios pass?      | Yes
| Checkstyle issues?*  | No
| PMD issues?**        | Yes
| Changelog updated?   | Yes
| Fixed tickets        | PIM-3209
| DB schema updated?   | No
| Migration script?    | No
| Doc PR               | No
UserInterface