Fix bug that occurs if the name of source directory starts with the same name as the destination directory

My source directory is called "blog-builder" and my destination directory is called "blog". The check to see if one path contained the other was a little too simplistic, since both start with the same text "blog", but they are sibling folders.