'Removes a file or empty directory on a remote host.
:param src: Empty directory used for rsync purposes
:param host: Remote host
:param dst: Destination path
:param on_execute: Callback method to store pid of process in cache
:param on_completion: Callback method to remove pid of process from
cache'

@staticmethod
def _remove_object(src, host, dst, on_execute, on_completion):

    utils.execute('rsync', '--archive', '--delete', '--include', os.path.basename(os.path.normpath(dst)), '--exclude', '*', (os.path.normpath(src) + os.path.sep), utils.format_remote_path(host, os.path.dirname(os.path.normpath(dst))), on_execute=on_execute, on_completion=on_completion)
