Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Some scripts may rely on $PWD to get current working directory. Since some commands are called after directory is changed by os.chdir(), this variable needs to be manually updated to reflect that change.
subprocess.Popen(cwd=X)
instead, but I saw you use the with cd(...):
construct for other stuff as well, so I just did a minimal fix.