Simplified (and corrected) duplicate output folder check.
Input folder check is unnecessary since LISTINGS_FOLDERS is a dict(), whence keys are unique.