I'm unable to connect to one of my repositories with DI 5.4. repositoriesMeta is returning null when I try to find it by name.
Code used:
final RepositoriesMeta repositoriesMeta = new RepositoriesMeta();
repositoriesMeta.readData();
final RepositoryMeta repositoryMeta = repositoriesMeta.findRepository(repositoryName);

Here's what my repositories.xml looks like. It finds the file repository just fine, but it doesn't seem to find the enterprise repository. I'm able to connect to that repository with spoon, so I know it is there. Is there something I'm missing?

<repositories>
<repository> <id>PentahoEnterpriseRepository</id>
<name>reportdev</name>
<description>reportdev</description>
<repository_location_url>http://10.32.18.41:9080/pentaho-di</repository_location_url>
<version_comment_mandatory>N</version_comment_mandatory>
</repository>
<repository> <id>KettleFileRepository</id>
<name>pentahoTransforms</name>
<description>pentahoTransforms</description>
<base_directory>&#x2f;opt&#x2f;verdeeco&#x2f;sys&#x2f;core&#x2f;current&#x2f;pentaho&#x2f;pentahoTransforms</base_directory>
<read_only>N</read_only>
<hides_hidden_files>N</hides_hidden_files>
</repository>
</repositories>