Fix "Invalid version string" Composer exception for dev-master plugins