fix pending human task search when tasks are assigned
BS-8389 : Bundle cannot start in Teamwork edition NullPointerException at org.bonitasoft.engine.profile.xml.ProfileBinding.getObject(ProfileBinding.java:58)

- Check if profile is not null when import it
Merge branch 'BS-7820_ProcessManager' into 'master'