Fix a cd complete error when command starts with a single apostrophe

Starting with an apostrophe causes an error in the `eval` on line 45, because there's an uneven amount. It still causes these errors with apostrophes somewhere else in the code, so it should probably be fixed in a better way.