diff --git a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java
+++ b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java
@@ -74,7 +74,7 @@ public class SingularityLogSupport implements SingularityCloseable {
 
     MesosSlaveStateObject slaveState = mesosClient.getSlaveState(slaveUri);
 
-    Optional<String> directory = null;
+    Optional<String> directory = Optional.absent();
 
     for (MesosSlaveFrameworkObject slaveFramework : slaveState.getFrameworks()) {
       directory = findDirectory(task.getTaskId(), slaveFramework.getExecutors());
fix NPE with task directory finder