Fix site path in passenger class
Don't deploy apt_preferences snippet on master if  is undef
Prevent duplicate declarations of 'apt' class