Fix environment value of problem with invalid problem already save

See #557
Fix Problem with environement == {} too in old migration

See #557
Update migration to generate fingerprint in best system

See #557
Merge pull request #559 from shingara/tickets/557

Fix environment value of problem with invalid problem already save