Also check for tool config path when installing migrated tools and rewriting the tool_conf.xml. This resolves the issue described in pull request 324.
Merge bugfix from stable.