Patch migrate to take absolute path rather than relative path so it can handle variations such as vhosts