Fixed a possible bug when storing extension path meta in the DB, especially if the installation is shared.

Signed-off-by: crynobone <crynobone@gmail.com>
Remove whitespaces.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.0'