[WIP] 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
Ihmo, you can remove parenthesis when useless ;)