Truncate post slugs when importing from Tumblr.
Ignore directories with valid post names.
Argh! How did 5fb8014 get in there?! Just ignore that...
This change appears to attempt to ignore all directories, but even then it's not joined with the previous line by ||. Can you rethink this?