Fixed bug with last slash in required targets