Fixed mediapackage error in last commit (Reported by kdolan)