Only explode if value is an array.
Fixed some PHP warning or notices.
Improved support for GitHub download URL’s.