Error removing toil/src directory from python path
When installed from pip (pip install git+http://github.com/bd2kgenomics/toil) into a virtualenv:

> Added job: b/k/jobHAlTgv to active jobs
> Built the jobs list, currently have 1 jobs to update and 0 jobs issued
> Issuing the command: /home/alden/progressiveCactus/python/bin/python -E /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py /home/alden/progressiveCactus/submodules/cactus/pipeline/toil b/k/jobHAlTgv with memory: 2147483648, cores: >1, disk: 2147483648
> Issued job with job store ID: b/k/jobHAlTgv and job batch system ID: 98 and cores: 1, disk: >2147483648, and memory: 2147483648
> Acquiring 2147483648 bytes of memory from pool of 9223372036854775807.
> Attempting to acquire 10 threads for 1 cpus submitted
> Acquiring semaphore blockingly.
> Semaphore acquired.
> Executing command: '/home/alden/progressiveCactus/python/bin/python -E /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py /home/alden/progressiveCactus/submodules/cactus/pipeline/toil b/k/jobHAlTgv'.
> Traceback (most recent call last):
>  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py", line >24, in <module>
>    sys.path.remove(os.path.dirname(os.path.abspath(**file**)))
> ValueError: list.remove(x): x not in list
> Got exit code 1 (indicating failure) from command '/home/alden/progressiveCactus/python/bin/python -E /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py /home/alden/progressiveCactus/submodules/cactus/pipeline/toil b/k/jobHAlTgv'.

diff --git a/src/toil/worker.py b/src/toil/worker.py
index fe0bb1d4..13948bd9 100644
--- a/src/toil/worker.py
+++ b/src/toil/worker.py
@@ -21,7 +21,8 @@ import sys
 if __name__ == "__main__":
     # FIXME: Until we use setuptools entry points, this is the only way to avoid a conflict between our own resource.py
     # and Python's
-    sys.path.remove(os.path.dirname(os.path.abspath(__file__)))
+    toilSrcDir = os.path.dirname(os.path.realpath(__file__))
+    sys.path = [directory for directory in sys.path if not os.path.realpath(directory) == toilSrcDir]
 
 import traceback
 import time
['src/toil/worker.py']