Fallback in import customstyles if listDirectory is None.

fixes #88