Fixes issue with migrations not being found when relative path for the migrations folder is provided.