Little hack for /mooc or /app_dev.php/ home path detection