CellML support: fixed an issue with nested local imports not being properly retrieved (closes #441).