I search on github and found CyanogenMod/android_device_samsung_p5113.
From this repo and cm.dependencies therein I suggest your manifest should look like
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github" fetch="https://github.com/CyanogenMod/" />
<project name="android_device_samsung_p5113" path="device/samsung/p5113" remote="github" revision="cm" />
<project name="android_device_samsung_p5100" path="device/samsung/p5100" remote="github" revision="cm" />
<project name="android_kernel_samsung_espresso10" path="kernel/samsung/espresso10" remote="github" revision="cm" />
<project name="android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm" />
</manifest>
I'm not sure if it has properly settle down sources needed for your devices, please check it carefully.
Btw, note that the docs you mentioned works for halium>=7.1, which based on cm>=14. However the latest support for your device is cm12.1. It seems that you should at first adapt your source to fix some new features provided from cm14. It is a huge work ...
(Yay... in fact that is what I have experienced on my device... lol)