Fix for adding services: resolving DB dependencies for mq and portal platforms.
E.g. in case portal platform and db platform exist, mq platform adding will be allowed.