Fixed the task Ghosting

Ghosting from the local cache is fixed. 

@author: Thhughes