Stops mergebases from failing if a base is missing

Adds a 'isValid' flag in P2Repository.
Do not create a build anymore if next/base is missing.
Do not mirror base anymore if missing.