Move working directory changes below extraction of .configuration, fixes #34