Ensures that custom WP dir have the correct format