nginx: fix passenger detection and module location

--root changed to an ini file but the check was looking for a directory