Bugfix/clean for patch

Fixes an edge case in the -try jenkins tests