Fixed missing slash when discovering resources