Fix conditional check for no htaccess