diff --git a/apps/files_encryption/appinfo/info.xml b/apps/files_encryption/appinfo/info.xml
index 6fcef693bed..7f7e09d6271 100644
--- a/apps/files_encryption/appinfo/info.xml
+++ b/apps/files_encryption/appinfo/info.xml
@@ -19,4 +19,7 @@
166047
+
+ openssl
+
diff --git a/apps/user_ldap/appinfo/info.xml b/apps/user_ldap/appinfo/info.xml
index a1a934f0140..88462902421 100644
--- a/apps/user_ldap/appinfo/info.xml
+++ b/apps/user_ldap/appinfo/info.xml
@@ -18,4 +18,7 @@ A user logs into ownCloud with their LDAP or AD credentials, and is granted acce
admin-ldap
166061
+
+ ldap
+
diff --git a/lib/private/app/platformrepository.php b/lib/private/app/platformrepository.php
index 96d04ec2e42..be825e74ca3 100644
--- a/lib/private/app/platformrepository.php
+++ b/lib/private/app/platformrepository.php
@@ -28,13 +28,10 @@ class PlatformRepository {
$ext = new \ReflectionExtension($name);
try {
$prettyVersion = $ext->getVersion();
- } catch (\UnexpectedValueException $e) {
- $prettyVersion = '0';
- }
- try {
$prettyVersion = $this->normalizeVersion($prettyVersion);
} catch (\UnexpectedValueException $e) {
- continue;
+ $prettyVersion = '0';
+ $prettyVersion = $this->normalizeVersion($prettyVersion);
}
$packages[$this->buildPackageName($name)] = $prettyVersion;