Attempts to fix 'realpath' bug in mocksuite