python 2.7.8: Fix Pathname#/ called with nil

Warning: Pathname#/ called with nil as an argument
This behavior is deprecated, please pass either a String or a Pathname
mongodb 2.6.5: Fix the build for Linuxbrew

Closes Homebrew/linuxbrew#161