I’ve been struggling with a similar issue. See here. If you’re - like me - working under Windows, this answer might be interesting for you. I accepted this answer as solution although it’s more of an explanation while it didn’t help me solve the problem.
If you’re interested in a couple of workarounds, see the following conversation in the linked thread.