no need to change this, but just as a fun FYI, this could be done a bit more neatly as ```common_pieces = filter(bool, publish_dir.split('/')```