Doctrine 2: doctrine:fixtures:load unexpected warning
<p>I'm loading a yaml file using nelmio/alice bundle.</p>

<p>There's a weird behavior when including the second entity of a many to many relationship. when running the load command it throws a warning:</p>

<blockquote>
  <p>[Symfony\Component\Debug\Exception\ContextErrorException]   Warning:
  copy(<a href="http://lorempixel.com/640/480/?35984" rel="nofollow">http://lorempixel.com/640/480/?35984</a>): failed to open stream:
  Impossible to estabilish connection..</p>
</blockquote>

<p>yaml file code is the following:</p>

<pre><code>AppBundle\Entity\ComponentInstance:
    componentInstance_{1..30}:
      componentCode: &lt;componentInstanceCode()&gt;
      componentId: &lt;numberBetween(1,50)&gt;
      sectionInstance: '@sectionInstance_*'
      date: &lt;datetime()&gt;
      images: '@componentImage_{1..2}'

AppBundle\Entity\ComponentImage:
    componentImage_{1..4}:
      imageName: &lt;name()&gt;
      imagePath: &lt;image()&gt;
      imageAlt: &lt;text()&gt;
      width: &lt;numberBetween(100,500)&gt;
      height: &lt;numberBetween(100,500)&gt;
      components: '@componentInstance_{1..2}'
</code></pre>

<p>As I put comments on the ComponentImage part it works without any problem. 
There is no track of that url inside the whole project.</p>

<p>the <code>image()</code> function is the following:</p>

<pre><code>public function images()
    {
      $genera = [
          '/images/color_pencils.jpg',
          '/images/half_color_pencils.jpg',
          '/images/rainbow_wood.bmp',
          '/images/color_smoke.jpg'
      ];
      $key = array_rand($genera);
      return $genera[$key];
    }
</code></pre>

<p>Any suggestion?</p>