diff --git a/.travis.yml b/.travis.yml
index d0bc064fe3ee2ae35ee761ab82652d95c9ce5b1c..b87650f6a49d64b1463b9ed72f38243aa26e99a7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -615,7 +615,7 @@ before_script:
     fi;
 
   # Get optional files too
-  - if [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then
+  - if [[ "$__DPL_ACTIVE" == "1" ]] && [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then
       if [ -f "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH)" ]; then
         echo "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_OPTIONAL_PATH))";
       fi;