Removed dependency on Python and Pip
Refresh the APT repo only when it's needed
Notify PostgreSQL restart after installing the extensions