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>