Fix bug where installing from  relative path fails