[#881286] Fixes to allow popcorn to be run from any dir.