[WORKER] Check for zero-length monitor path

Change-Id: Ia799ec2bab281528c9547b2e3219f80ff4be2231