Addition of an alternative to skip building.

In YUI's CI system, it is nearly impossible to modify environment variables, and thus the current method of skipping builds is insufficient. This change simply makes it easier for CI to skip building YUI. 

As mentioned, the `artifacts` directory usually only exists in CI. A normal user normally won't have this directory created. This change should be safe.