Merge branch 'fix-undefined-model' into 'master'

fix situtation when a pathway is obtained before any species

See merge request !8
2 jobs for master in 2 minutes and 14 seconds