Deploy crashing when the two paths are identical

Quick fix to get the deploy working, then go back and see if this really is the case.