Adapted to dpkg's "--instdir"-like options.

It's calculating effective root-path of the installation. It may not be equal to "/", if it's used options like "--instdir" of dpkg.
For example, this may be useful if it is used a lot of versions of openra on debian.