Set datadir in sysconfig file for managed_repo installs, redux #318

This fixes the typo in pull #342, thus fixing issue #318.