Issue #189 workaround

...h realdirpath failing due to missing file.

https://github.com/cloudfoundry/vcap/issues/189

This is just a workaround for an issue we've seen in a couple of our cloud foundry environments. I don't know enough about the interaction between EM  and ruby fibers or what else is involved to definitively say, but it appears that the files haven't been unzipped by the time that File.realdirpath() is called within resolve_path and you see errors like this in the CC log file:

    [2012-02-27 09:24:09] cc - 22511 8376 daf8  ERROR -- resolve_path failed working_dir: '/tmp/d20120227-22511-1y7exn9', tainted_path: 'Themes/TheThemeMachine/Views/BadgeOfHonor.cshtml'
    [2012-02-27 09:24:09] cc exception 22511 8376 daf8  ERROR -- Errno::ENOENT("No such file or directory - /tmp/d20120227-22511-1y7exn9/Themes/TheThemeMachine/Views", [/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:185:in `realdirpath',/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:185:in `resolve_path',/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:205:in `block (3 levels) in synchronize_pool_with',/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:204:in `each',/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:204:in `block (2 levels) in synchronize_pool_with',/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:80:in `call',/home/cfadmin/cloudfoundry/vcap/cloud_controller/app/models/app_package.rb:80:in `block in blocking_defer',/home/cfadmin/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1060:in `call',/home/cfadmin/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1060:in `block in spawn_threadpool'])
Dear Cloud Foundry contributor,

<p>
If you are reading this message, it means you submitted a pull request in the
Cloud Foundry GitHub repository.
</p>

<p>
First of all, thanks! We really appreciate your participation.
</p>

<p>
Recently we made some changes in how we are verifying and reviewing open source
contributions like yours. In addition, we changed the way we can expose our
internal development in real-time. The changes are exciting, as they allow all
our staff to collaborate seamlessly with you, which increases our mutual
velocity and gives the community a bigger stake in our direction.
</p>

<p>
The Cloud Foundry team uses Gerrit, a code review tool that originated in the
Android Open Source Project. We also use GitHub as an official mirror, though
all pull requests are accepted via Gerrit.
</p>

<p>
Follow these steps to make a contribution to any of our open source
repositories:
</p>

1. Complete our CLA Agreement for
   [individuals](http://www.cloudfoundry.org/individualcontribution.pdf) or
   [corporations](http://www.cloudfoundry.org/corpcontribution.pdf).
1. Sign up for an account on our public Gerrit server at
   http://reviews.cloudfoundry.org/.
1. Create and upload your public SSH key in your Gerrit account profile.
1. Set your name and email:

                git config --global user.name "Firstname Lastname"
                git config --global user.email "your_email@youremail.com"

1. Install our gerrit-cli gem:

                gem install gerrit-cli

1. Clone the Cloud Foundry repo:
   _Note: to clone the BOSH repo, or the Documentation repo, replace
   `vcap` with `bosh` or `oss-docs`_

                gerrit clone ssh://reviews.cloudfoundry.org:29418/vcap
                cd vcap

1. Make your changes, commit, and push to gerrit:

                git commit
                gerrit push

<p>
Once your commits are approved by our Continuous Integration Bot (CI Bot) as
well as our engineering staff, return to the Gerrit interface and MERGE your
changes. The merge will be replicated to GitHub automatically at
https://github.com/cloudfoundry. If you get feedback on your submission, we
recommend squashing your commit with the original change-id. See the squashing
section here for more details: https://help.github.com/rebase.
</p>